package com.zhuzhe.blog.system.MQlistener;

import org.springframework.stereotype.Component;

import com.zhuzhe.mq.mqtype.rabbitmq.init.MQMessageHandleService;

/**
 * @author whh
 * @date 2020/11/02 10:07
 */
@Component
public class MQlistener extends MQMessageHandleService {

    @Override
    public void dealMessage(String dataType, String message) {
        System.out.println("接收到消息:" + dataType + ":" + message);
    }
}

